package com.gzhryc.pay.adaptation.weixin.msg.native_pay;

import java.io.Serializable;

public class WXPayNativeOrderRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    private String appid;
    private String mchid;
    private String description; //商品描述
    private String out_trade_no; //商户订单号
    private String time_expire; //交易结束时间
    private String attach;      //attach
    private String notify_url;  //通知地址
    private String goods_tag;   //订单优惠标记
    private AmountItem amount;      //订单金额

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getTime_expire() {
        return time_expire;
    }

    public void setTime_expire(String time_expire) {
        this.time_expire = time_expire;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getGoods_tag() {
        return goods_tag;
    }

    public void setGoods_tag(String goods_tag) {
        this.goods_tag = goods_tag;
    }

    public AmountItem getAmount() {
        return amount;
    }

    public void setAmount(AmountItem amount) {
        this.amount = amount;
    }

    public static class AmountItem  implements Serializable {

        private static final long serialVersionUID = 1L;

        private Integer total;
        private String currency; // 货币类型,CNY：人民币，境内商户号仅支持人民币

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }
    }

}
